<?php
class UCCASS_Preview extends UCCASS_Main
{
    function UCCASS_Preview()
    { $this->load_configuration(); }

    /*************************
    * VIEW RESULTS OF SURVEY *
    *************************/
    function survey_preview($sid,$preview)
    {  
    	$this->smarty->assign_by_ref('sid',$sid);
    	$this->smarty->assign_by_ref('preview',$preview);
		$retval = $this->smarty->fetch($this->template.'/preview.tpl');
        return $retval; 
    }
    
}
?>